﻿using Omabar.BLL;
using Omabar.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Omabar.CMS.CMS
{
    public partial class UserEdit : System.Web.UI.Page
    {
        protected USER user;
        protected string userid;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                User_BLL bll = new User_BLL();
                userid = Request["id"];
                user = bll.GetModel(userid);
                if (user == null) user = new USER();
            }
        }
    }
}